<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<title>Modules demo</title>
	<link rel="stylesheet" type="text/css" media="screen" href="{$basePath}/css/site.css">
</head>

<body>
	<h1>Modules demo</h1>

	<div id="path">
		<span id="module">{$moduleName}<span id="presenter">{$presenterName}:<span id="view">{$viewName}</span></span></span>
	</div>

	<fieldset>
		<legend>This is layout template <code>{$template->getFile() |replace:$root}</code></legend>

		<fieldset>
			<legend>This is content block template <code>{$presenter->template->getFile() |replace:$root}</code></legend>
			{include #content}
		</fieldset>


		<h2>Absolute links</h2>
		<ul>
			<li><a n:href=":Front:Default:"><code>:Front:Default:</code></a> - link to presenter <code>Front:Default</code></li>
			<li><a n:href=":Admin:Default:"><code>:Admin:Default:</code></a> - link to presenter <code>Admin:Default</code></li>
		</ul>
	</fieldset>
</body>
</html>